const mongoose = require('mongoose')

const schema = new mongoose.Schema({
  openid: { type: String },
  nickname: { type: String },
  headimgurl: { type: String },
  
  file_id: { type: String },
  //......
})

module.exports = mongoose.model('user', schema)